<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<script src="../libs/mui/mui.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../libs/mui/mui.css"/>
		<link rel="stylesheet" type="text/css" href="../css/main.css"/>
		<title>Storage</title>
<script type="text/javascript" charset="UTF-8">
	mui.init();
	var lat;
	var alt;
	mui.plusReady(function() {
		plus.geolocation.getCurrentPosition( function ( p ) {
		alert( "Geolocati1on\nLatitude:" + p.coords.latitude + "\nLongitude:" + p.coords.longitude + "\nAltitude:" + p.coords.altitude );
		lat = p.coords.longitude;
		alert(lat);
		//plus.storage.setItem("geo",p.coords.latitude );
		
	}, function ( e ) {
		alert( "Geolocation error: " + e.message );
	} );
	
	alert(lat);
	
	})
</script>
	</head>
	<body>
		
	</body>
</html>
